package com.Test;

import java.util.Objects;

public class Test33 {
    public static void main(String[] args) {
        Double demo = 10.0;
        if (Objects.isNull(demo)) {
            System.out.println("没有值");
        } else {
            System.out.println("有值");
        }
    }
}
